#!/usr/bin/env bash

cur_branch=$(git branch | grep '*' | awk -F ' ' '{print $2}')

if [ ! -d dist ]; then
  mkdir dist
fi

git archive --format=zip --output "dist/t-player-${cur_branch}.zip" ${cur_branch}
